<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<% String path = request.getContextPath();
    String basePath = request.getScheme() +"://"+ request.getServerName()
            +":"+request.getServerPort()+path;
%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page isELIgnored="false" %>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title></title>
<link rel="stylesheet" href="<%=basePath%>/css/pintuer.css">
<link rel="stylesheet" href="<%=basePath%>/css/admin.css">
<script src="<%=basePath%>/js/jquery.count.min.js"></script>
</head>
<body>
<form action="<%=basePath%>/stu/query" method="post" id="listform">
  <div class="panel admin-panel">
    <div class="panel-head"><strong class="icon-reorder"> 列表</strong> <a href="" style="float:right; display:none;">添加</a></div>
    <div class="padding border-bottom">
      <ul class="search" style="padding-left:10px;">
        <li> <a class="button border-main icon-plus-square-o" href="<%=basePath%>/stu/add"> 添加</a> </li>

          <li>

              <select   id="smygrade"  name="s_isvouch" class="input"   style="width:100px; line-height:17px;display:inline-block">
                  <option value="">请选择</option>
                  <c:forEach items="${clist}" var="a">
                      <option value="${a.class_id}">${a.class_name}</option>
                  </c:forEach>

              </select>
              &nbsp;&nbsp;

          </li>
        <li>
          <input id="iname"  type="text" placeholder="请输入名称" name="keywords" class="input" style="width:250px; line-height:17px;display:inline-block" />
            <input type="submit" class="button border-main icon-search" value="搜索" /> </li>      </ul>
    </div>
    <table id="teachertable" class="table table-hover text-center">
        <tr><th>序号</th><th>学生姓名</th><th>学号</th>  <th>年龄</th><th width="310">操作</th> </tr>
      <c:forEach items="${list}" var="a">
          <tr ><td>${a.id}</td><td>${a.namejfy}</td><td>${a.snojfy}</td><td>${a.agejfy}</td>
              <td><a href="<%=basePath%>/stu/delete?id=${a.id}">删除</a>
<%--                  |<a href="<%=basePath%>/bookinfo/edit?id=${a.book_id}">修改</a>--%>
              </td>
          </tr>
      </c:forEach>
    </table>
     <tr>
    	<td colspan="8">
    		<div class="pagelist"> 
    			<a id='first_page'  href="#">首页</a> 
    			<a id='last_page'   href="#">上一页</a> 
    		    <a id='next_page'   href="#">下一页</a>
    		    <a id='end_page'    href="#">尾页</a>
    		    <a id='jump_page'   href="#">跳转</a>
    		    <input id="page_no" style="height: 20px;width:30px"/>
    		    <input id="total_page"style="height: 20px;width:50px"  value="1 页"/>
    		</div>
    	</td>
    </tr>
    
  </div>
</form>
</body>
</html>